import java.util.Scanner;

public class Practice01 {
    //质因数
    public static void isYinshu(int number){
        for (int i = 2; i * i <=number ; i++) {
                while (number % i == 0){
                    System.out.print(i + "*");
                    number /= i;
                }
            }
        if (number > 1){
            System.out.println(number);
        }
}
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int number = sc.nextInt();
            if (number == 1) {
                System.out.println("请输入大于1的数");
            } else {
                System.out.print(number + "= ");
                isYinshu(number);
        }
    }
}
